package org.example.alicloud.service;

import org.example.alicloud.model.CommonResult;
import org.example.alicloud.model.Payment;
import org.springframework.stereotype.Component;

/**
 * @author gaoqiang
 */
@Component
public class PaymentFallbackServiceImpl implements PaymentService {
    @Override
    public CommonResult paymentSQL(Long id) {
        return new CommonResult(444, "payment sql degrade", new Payment(id, "error serial"));
    }
}
